function Loss   = v9_LossFunction(ParametersIn, RealMoments, MomentCovar)

SimMoments  = v9_Moments(ParametersIn);

Loss        = (RealMoments - SimMoments)' * inv(MomentCovar) * (RealMoments - SimMoments);

return
